package org.jarraiders.musiclibrary.client;

import java.util.ArrayList;

import org.jarraiders.musiclibrary.shared.domain.ArtistDTO;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface ArtistsServiceAsync {

	public void addArtist(ArtistDTO artist, AsyncCallback<ArtistDTO> callback);

	void deleteArtist(String id, AsyncCallback<ArrayList<ArtistDTO>> callback);

	public void getArtistDetails(AsyncCallback<ArrayList<ArtistDTO>> callback);

	void getArtist(String id, AsyncCallback<ArtistDTO> callback);

	public void updateArtist(ArtistDTO artist, AsyncCallback<ArtistDTO> callback);

	void searchArtist(String searchText, AsyncCallback<ArrayList<ArtistDTO>> callback);

}
